text/template/parse.Tree.newVariable (method)

5 uses

	text/template/parse (current package)
		node.go#L399: func (t *Tree) newVariable(pos Pos, ident string) *VariableNode {
		parse.go#L484: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L488: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L757: 			node = t.newVariable(chain.Position(), chain.String())
		parse.go#L841: 	v := t.newVariable(pos, name)